import axios from 'axios'
const baseUrl = "http://localhost:8088";

export const getIndex = (obj)=>{
    return axios.get(baseUrl+"/admin/index",obj)
}
export const getGoods = (obj)=>{
    return axios.get(baseUrl+"/admin/goods",obj)
}
export const getPage = (obj)=>{
    return axios.get(baseUrl+"/admin/fenyepage",obj)
}
export const getNumber = (obj)=>{
    return axios.get(baseUrl+"/admin/fenyenum",obj)
}
export const getTotal = (obj)=>{
    return axios.get(baseUrl+"/admin/total",obj)
}